find intersection of two arrays calculate intersection